// TOWN SPECIAL ENCOUNTERS
//    Town 105: Lair of Khoth

beginzonescript;

variables;

short im_hostile = 0;
short max_crime = 200;
short last_abil;
short counter = 0;
short set_ter = 0;

body;

beginstate INIT_STATE;
	last_abil = get_current_tick();

//	set_name(,);
//	add_range_to_group(,,groupn);

	set_name(30001,"Khoth's Defender");
	set_level(30001,28);
	set_attack_bonus(30001,25 * difficulty());
	change_max_health(30001,100 * difficulty());
	
	set_personality_name(2100,"Khoth");

	set_crime_tolerance(max_crime);

	break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(10524,"Hmmm.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(10524,"Hrmmm.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(10524,"Bring me the lich tome.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(10524,"I need new pens.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(10524,"The Empire will pay.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(10524,"I'll find a weakness.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(10524,"The beasts will be studied.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(10524,"The beasts are annoying.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(10524,"What was that?");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(10524,"These lands will be ours.");

break;

beginstate 10;
break;

beginstate 11;
break;

beginstate 12;
break;

beginstate 13;
break;

beginstate 14;
break;

//	print_str("");
//	set_terrain_string_range("",1);
//	set_terrain_string_range("The sign says - .",1);

